<div ng-include="sys_html('common/_header')"></div>
<style>
.headinfo {
    background: none;
}
.headinfo .mod-member {
    margin: 0 auto;
	margin-top: -60px;
    width: 94%;
	left:3%;
    padding: 6px 0 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.bottombg {bottom:-20px;width:100%;height:80px;border-bottom-right-radius:100% 40px;border-bottom-left-radius:100% 40px;}
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.fui-icon-group .fui-icon-col-sm {
    margin:10px 0;
}
.badge {
    left: 2rem;
    top: 0;
}
.subtitle {
    font-size: 0.6rem;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
		<div class="bottombg" style="background:{{main.syscolor || '#7c1cc9'}}"></div>
			<div class="headinfo" style="height:auto;">	
				<div class="mod-member">
						<div class="fui-icon-group noborder col-3">
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold" style="font-size:1rem;">{{pagedata.merchnums[0].num || '0'}}</div>
														<div class="subtitle" style="color: #666;">累积商户</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold" style="font-size:1rem;">{{pagedata.merchnums[0].num || '0'}}</div>
														<div class="subtitle" style="color: #666;">累积订单数</div>
													</div>
												</div>
												<div class="fui-icon-col-sm external" style="margin:0">
													<div>
														<div class="text bold" style="font-size:1rem;">{{pagedata.orderfees[0].num || '0.00'}}</div>
														<div class="subtitle" style="color: #666;">累积业绩</div>
													</div>
												</div>
						</div>
						<div class="fui-icon-group noborder  col-4">
												<div class="fui-icon-col external">
													<div>
														<div class="text bold">{{pagedata.item.merchnum || '0'}}</div>
														<div class="subtitle" style="color: #666;">今日商户</div>
													</div>
												</div>
												<div class="fui-icon-col external">
													<div>
														<div class="text bold">{{pagedata.item.ordernum || '0'}}</div>
														<div class="subtitle" style="color: #666;">今日销量</div>
													</div>
												</div>
												<div class="fui-icon-col external">
													<div>
														<div class="text bold">{{pagedata.item.orderfee || '0'}}</div>
														<div class="subtitle" style="color: #666;">今日业绩</div>
													</div>
												</div>
												<div class="fui-icon-col external">
													<div>
														<div class="text bold">{{pagedata.item.ipnum || '0'}}</div>
														<div class="subtitle" style="color: #666;">今日流量</div>
													</div>
												</div>
						</div>
					</div>
				</div>
				<div class="fui-cell-group fui-cell-click mod-group" style="padding-bottom:0.6rem">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_lianmerch/list/')">
								<div class="fui-cell-text bold" style="font-size:1rem;">商户数据<span style="color:red;font-size:0.5rem">（商户数量）</span></div>
								<div class="fui-cell-remark">查看</div>
							</a>
							<div class="fui-icon-group noborder col-4">
								<div ng-repeat="item in pagedata.merchnums" class="fui-icon-col external">
										<div>
											<div class="text bold">{{item.num || '0'}}</div>
											<div class="subtitle" style="color: #666;">{{item.title}}</div>
										</div>
								</div>
							</div>
				</div>
				<div class="fui-cell-group fui-cell-click mod-group" style="padding-bottom:0.6rem">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_lianmerch/order/')">
								<div class="fui-cell-text bold" style="font-size:1rem;">销量数据<span style="color:red;font-size:0.5rem">（订单数量）</span></div>
								<div class="fui-cell-remark">查看</div>
							</a>
							<div class="fui-icon-group noborder col-4">
								<div ng-repeat="item in pagedata.ordernums" class="fui-icon-col external">
										<div>
											<div class="text bold">{{item.num || '0'}}</div>
											<div class="subtitle" style="color: #666;">{{item.title}}</div>
										</div>
								</div>
							</div>
				</div>
				<div class="fui-cell-group fui-cell-click mod-group" style="padding-bottom:0.6rem">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_lianmerch/order/')">
								<div class="fui-cell-text bold" style="font-size:1rem;">营业额数据<span style="color:red;font-size:0.5rem">（应用金额）</span></div>
								<div class="fui-cell-remark">查看</div>
							</a>
							<div class="fui-icon-group noborder col-4">
								<div ng-repeat="item in pagedata.orderfees" class="fui-icon-col external">
										<div>
											<div class="text bold">{{item.num || '0'}}</div>
											<div class="subtitle" style="color: #666;">{{item.title}}</div>
										</div>
								</div>
							</div>
				</div>
				<div class="fui-cell-group fui-cell-click mod-group" style="padding-bottom:0.6rem">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_lianmerch/creditshop/')">
								<div class="fui-cell-text bold" style="font-size:1rem;">积分兑换数据<span style="color:red;font-size:0.5rem">（消费额）</span></div>
								<div class="fui-cell-remark">查看</div>
							</a>
							<div class="fui-icon-group noborder col-4">
								<div ng-repeat="item in pagedata.creditshop" class="fui-icon-col external">
										<div>
											<div class="text bold">{{item.num || '0'}}</div>
											<div class="subtitle" style="color: #666;">{{item.title}}</div>
										</div>
								</div>
							</div>
				</div>
				<div class="fui-cell-group fui-cell-click mod-group" style="padding-bottom:0.6rem">
							<a class="fui-cell external" href="javascript:;" ng-click="access_json('jy_lianmerch/mjicai/')">
								<div class="fui-cell-text bold" style="font-size:1rem;">积分建仓数据<span style="color:red;font-size:0.5rem">（参与积分）</span></div>
								<div class="fui-cell-remark">查看</div>
							</a>
							<div class="fui-icon-group noborder col-4">
								<div ng-repeat="item in pagedata.mjicai" class="fui-icon-col external">
										<div>
											<div class="text bold">{{item.num || '0'}}</div>
											<div class="subtitle" style="color: #666;">{{item.title}}</div>
										</div>
								</div>
							</div>
				</div>
				<div class="fui-cell-group fui-cell-click" style="background:none">
							<a class="fui-cell external changepwd" href="javascript:;" ng-click="access_json('core/member.cpassword/')">
								<div class="fui-cell-text" style="text-align: center;">修改密码</div>
							</a>
							<a class="fui-cell external btn-logout" ng-click="post_json('core/member.logout/')">
								<div class="fui-cell-text" style="text-align: center;">退出登录</div>
							</a>
				</div>
				<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
<div id="show_vipcard"  class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
		<div class="modal-dialog" style="top:30%;">
			<div class="memlogo-area" style="background:url({{tomedia(pagedata.item.cardbg) || '../core/resource/images/cardbg.png'}}) no-repeat 100%">
                    <div class="memlogo">
                        <img ng-src="{{tomedia(pagedata.item.avatar) || '../core/resource/images/gw-user.png'}}">
                    </div>
                    <div class="name">{{pagedata.item.nickname || '匿名'}}</div>
                    <br>
                    <div class="name">{{pagedata.item.mobile || '无手机号'}}</div>
                    <div class="code">
                        <img ng-src="{{tomedia(pagedata.account.logo) || '../core/resource/images/wxappicon.png'}}">
                    </div>
                    <div class="bot">
						<img id="barcode" style="height:2.5rem"/>
                        <span class="r-f">{{pagedata.item.level}}</span>
                    </div>
            </div>
		</div>
</div>
<div ng-include="sys_html('common/_footer')"></div>
<script>
require(['JsBarcode'],function(JsBarcode){
	//console.log('准备调用');
	JsBarcode('#barcode',scope.pagedata.item.id,{fontSize:36});
});
</script>